package com.nativetalk.common;



import com.nativetalk.service.live.LiveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * This class contains the spring configuration for the nadron library user.
 * The only bean that is compulsory to be declared is lookupService bean.
 * Otherwise the program will terminate with a context load error from spring
 * framework. The other beans declared can also be created using **new**
 * operator as per programmer convenience.
 * 
 * @author Abraham Menacherry.
 * 
 */
@Configuration
@ImportResource("classpath:spring/*.xml")
public class SpringConfig
{
	@Autowired
	@Qualifier("liveService")
	private LiveService liveService;

}
